home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat1m / ttdbck.z / ttdbck
Encoding:
Text File  |  2002-10-03  |  7.7 KB  |  199 lines

  1.  
  2.  
  3.  
  4. ttttttttddddbbbbcccckkkk((((8888))))                                                            ttttttttddddbbbbcccckkkk((((8888))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ttdbck - display, check, or repair ToolTalk databases.
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ttttttttddddbbbbcccckkkk [-f _f_i_l_e_n_a_m_e ] [-k _o_b_j_i_d_k_e_y ] [-t _t_y_p_e ] [-bximpa] [-T oooottttyyyyppppeeeeiiiidddd ]
  13.      [-IZ]
  14.      ttttttttddddbbbbcccckkkk [ _s_e_l_e_c_t_i_o_n _o_p_t_s ] [ _d_i_a_g_n_o_s_i_s _o_p_t_s ] [ _d_i_s_p_l_a_y _o_p_t_s ] [
  15.      _r_e_p_a_i_r _o_p_t_s ] [ _d_a_t_a-_b_a_s_e-_d_i_r_e_c_t_o_r_y ]...
  16.  
  17. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  18.      ttttttttddddbbbbcccckkkk is the ToolTalk database maintenance tool.  It allows direct
  19.      inspection of ToolTalk spec data, detection of inconsistencies, and
  20.      repair of problems.
  21.  
  22.      DDDDiiiiffffffffeeeerrrreeeennnncccceeeessss ffffrrrroooommmm SSSSuuuunnnnSSSSoooofffftttt TTTToooooooollllTTTTaaaallllkkkk::::
  23.  
  24.      The Classing Engine is NOT supported on SGI.  By default, ttdbck uses the
  25.      types database XDR files when determining what spec otypes are valid.
  26.  
  27. OOOOPPPPTTTTIIIIOOOONNNNSSSS
  28.      _d_a_t_a-_b_a_s_e-_d_i_r_e_c_t_o_r_y
  29.           Names the directory or directories containing the ToolTalk database
  30.           to be inspected or repaired. If no directories are named, the
  31.           current directory is assumed.  If a directory path does not end in
  32.           ``TT_DB'', ``TT_DB'' is appended.
  33.  
  34.           The user running the command must have read access to the files in
  35.           the directory to inspect the data and write access to repair the
  36.           data.  Since ToolTalk databases are typically accessible only to
  37.           root, this command is normally run as root.
  38.  
  39.    SSSSeeeelllleeeeccccttttiiiioooonnnn ooooppppttttiiiioooonnnnssss
  40.      The selection options determine which specs in the database are displayed
  41.      or modified.  If no selection options are given, all specs in the
  42.      database are displayed.  To prevent massive accidental changes to
  43.      ToolTalk databases, no repair options except ----IIII are allowed unless a
  44.      selection or diagnosis option is given.
  45.  
  46.      ----ffff _f_i_l_e_n_a_m_e
  47.           Restricts the set of specs to be inspected or modified to those
  48.           which describe objects in the named file. The file name can contain
  49.           shell-style wildcards which must be escaped to prevent the shell
  50.           from expanding them.
  51.  
  52.      ----kkkk _o_b_j_i_d_k_e_y
  53.           An object id key, specifying a particular spec to be displayed or
  54.           modified.  The object id key can be obtained from a previous
  55.           invocation of ttdbck; one might display a set of specs, determine
  56.           the one that needs repair, and specify its key here.
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. ttttttttddddbbbbcccckkkk((((8888))))                                                            ttttttttddddbbbbcccckkkk((((8888))))
  71.  
  72.  
  73.  
  74.      ----tttt _t_y_p_e
  75.           Restricts the set of specs to be inspected or modified to those with
  76.           otype _t_y_p_e. The type name can contain shell-style wildcards which
  77.           must be escaped to prevent the shell from expanding them.
  78.  
  79.    DDDDiiiiaaaaggggnnnnoooossssiiiissss ooooppppttttiiiioooonnnnssss
  80.      These options check for and report on inconsistencies in the selected
  81.      specs.  Only specs selected by the selection options are checked.  If a
  82.      diagnosis option is given, any display or repair option is applied only
  83.      to specs which fail the diagnostic check.
  84.  
  85.      ----bbbb   Check for badly formed specs: those which have no file or type or
  86.           those which have types not defined in the type database.
  87.  
  88.      ----xxxx   Check for specs which refer to files that no longer exist.
  89.  
  90.    DDDDiiiissssppppllllaaaayyyy ooooppppttttiiiioooonnnnssss
  91.      These options determine what data is printed for each selected spec.
  92.  
  93.      ----iiii   Display the object id (including the object id key.)
  94.  
  95.      ----mmmm   Display the mandatory data that must appear in every spec: the otype
  96.           of the object described by the spec and the file in which the spec
  97.           is stored.
  98.  
  99.      ----pppp   Display all the properties and values for each selected spec.
  100.  
  101.      ----aaaa   Display all data (equivalent to specifying ----iiiimmmmpppp)
  102.  
  103.    RRRReeeeppppaaaaiiiirrrr ooooppppttttiiiioooonnnnssss
  104.      ----IIII   Invoke the NetISAM isrepair() function for all files accessed.  This
  105.           action is applied before any other inspection or repair action.
  106.           This option should be used when normal operations return EBADFILE
  107.           (error code 105.)
  108.  
  109.      ----FFFF ffffiiiilllleeeennnnaaaammmmeeee
  110.           Change the file name for the selected specs to the supplied file
  111.           name.
  112.  
  113.      ----TTTT oooottttyyyyppppeeeeiiiidddd
  114.           Change the type of the selected specs to the given otype.
  115.  
  116.      ----ZZZZ   Remove the selected specs entirely.
  117.  
  118. EEEEXXXXAAAAMMMMPPPPLLLLEEEESSSS
  119.           ttttttttddddbbbbcccckkkk ----bbbbxxxxiiii ////hhhhoooommmmeeee
  120.  
  121.      In the /home/TT_DB directory, finds all badly formed specs and specs that
  122.      refer to non-existent files and prints their ids.
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. ttttttttddddbbbbcccckkkk((((8888))))                                                            ttttttttddddbbbbcccckkkk((((8888))))
  137.  
  138.  
  139.  
  140.           ttttttttddddbbbbcccckkkk ----ffff ////hhhhoooommmmeeee////ssssaaaammmmpppplllleeee////ddddaaaattttaaaa ----FFFF ////hhhhoooommmmeeee////ssssaaaammmmpppplllleeee////ddddaaaattttaaaa1111 ////hhhhoooommmmeeee
  141.  
  142.      In the /home/TT_DB directory, finds all specs that refer to objects in
  143.      file /home/sample/data and changes them to refer to /home/sample/data1.
  144.  
  145.           ttttttttddddbbbbcccckkkk ----tttt SSSSuuuunnnn____CCCChhhhaaaaiiiinnnn____LLLLiiiinnnnkkkk ----ZZZZ ////eeeexxxxppppoooorrrrtttt////TTTTTTTT____DDDDBBBB
  146.  
  147.      In the /export/TT_DB directory, finds all specs that refer to objects of
  148.      type _S_u_n__C_h_a_i_n__L_i_n_k and deletes the specs.
  149.  
  150. FFFFIIIILLLLEEEESSSS
  151.      ////ppppaaaatttthhhh////TTTTTTTT____DDDDBBBB         ToolTalk database
  152.  
  153. NNNNOOOOTTTTEEEESSSS
  154.      The ttdbck command should be run on the same machine where the TT_DB
  155.      files being inspected and repaired physically exist.  That is, don't try
  156.      to access the TT_DB files via NFS.
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.                                                                         PPPPaaaaggggeeee 3333
  196.  
  197.  
  198.  
  199.